package com.ywf.corebase.framework.annotation;

import com.ywf.corebase.framework.result.R;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * ClassName:ResponseResult
 * Package:com.ywf.myproject.common.annotation
 * Description:接口返回结果增强  会通过拦截器拦截后放入标记，在ResponseResultHandler进行结果处理
 *
 * @Date:2021/3/7 18:41
 * @Author:YWF
 */
@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ResponseResult {
    Class<R> value() default R.class;
}
